package com.example.androidstart.homepage.item;

import static com.example.androidstart.homepage.ItemType.ICON_TYPE;

import com.example.androidstart.homepage.ItemInfo;
import com.example.androidstart.homepage.bean.IconInfoBean;

public class IconItemInfo implements ItemInfo<IconInfoBean> {

    private IconInfoBean mIconInfoBean;

    public IconItemInfo(IconInfoBean iconInfoBean) {
        this.mIconInfoBean = iconInfoBean;
    }

    @Override
    public IconInfoBean getItemInfo() {
        return mIconInfoBean;
    }

    @Override
    public int getType() {
        return ICON_TYPE;
    }
}
